Search results
2701 packages found
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
`Object.defineProperty`, but not IE 8's broken one.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Get, set, or delete a property from a nested object using a dot path
Merge objects using their property descriptors
Define an accessor property on an object. Will either throw, or fall back to assignment in loose mode, in an engine without descriptors.
Access deep object properties using a path
Define a non-enumerable read-only property.
Extend an object with the properties of additional objects. node.js/javascript util.
- assign
- clone
- extend
- merge
- obj
- object
- object-assign
- object.assign
- prop
- properties
- property
- props
- shallow
- util
- View more
Set and get values on objects via dot-notation strings.
**Grab Wizard** is a lightweight JavaScript package for navigating and retrieving values from nested data structures. <br/> ## Install You can install the package using npm:
ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3
Test if an object has a specified property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- property
- View more
make it easier to manage the properties/attributes of your class.
Define a lazily evaluated property on an object
- lazy
- property
- properties
- prop
- define
- object
- value
- lazily
- laziness
- evaluation
- eval
- execute
- getter
- function
- View more
Safely get deep nested properties using dot notation